package com.yunyike.app.data.service;

import com.yunyike.app.data.dto.CartDTO;
import com.yunyike.app.data.model.User;

/**
 * @author zhengqiang.shi
 * 2015-11-28 下午12:59:18
 */
public interface ICartService {

	/*
	 * 添加购物车
	 */
	public int addCart(User user,String shopId,String merchandiseBarCode,int qty);
	
	/*
	 * 更新购物车
	 */
	public int updateCart(User user,String shopId,String merchandiseBarCode,int qty);
	
	/*
	 * 获取购物车信息
	 */
	public CartDTO getCart(User user,String shopId);
	
	/*
	 * 移除购物车商品
	 */
	public int removeCart(User user,String shopId, String merchandiseNumber);
	
	
}
